<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
	<Source>
		<Name>cppcheck</Name>
		<Homepage>https://cppcheck.sourceforge.io/</Homepage>
		<Packager>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Packager>
		<License>GPLv3</License>
		<IsA>app:gui</IsA>
		<IsA>app:console</IsA>
		<PartOf>programming.tool</PartOf>
		<Summary>static analysis of C/C++ code.</Summary>
		<Description>
			Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
		</Description>
		<Archive sha1sum="2f002870b803a6c87e8991a7fd28438883155f4a" type="tarbz2">
			mirrors://sourceforge/cppcheck/cppcheck-2.10.tar.bz2
		</Archive>
		<BuildDependencies>
			<Dependency>cmake</Dependency>
			<Dependency>ninja</Dependency>
			<Dependency>z3-devel</Dependency>
			<Dependency>zlib-devel</Dependency>
			<Dependency>boost-devel</Dependency>
			<Dependency>docbook-xsl</Dependency>
			<Dependency>qt6-sql-odbc</Dependency>
			<Dependency>qt6-linguist</Dependency>
			<Dependency>libxslt-devel</Dependency>
			<Dependency>libpcre-devel</Dependency>
			<Dependency>python3-devel</Dependency>
			<Dependency>qt6-sql-mysql</Dependency>
			<Dependency>qt6-sql-sqlite</Dependency>
			<Dependency>qt6-base-devel</Dependency>
			<Dependency>tinyxml2-devel</Dependency>
			<Dependency>qt6-charts-devel</Dependency>
			<Dependency>qt6-sql-postgresql</Dependency>
			<Dependency>python3-setuptools</Dependency>
			<Dependency>qt6-assistant-devel</Dependency>
		</BuildDependencies>
		<Patches>
			<!-- <Patch level="1">htmlreport_py3.patch</Patch> -->
			<Patch level="1">qm_install_path.patch</Patch>
			<!-- <Patch level="1">Buffer_is_accessed_out_of_bounds.patch</Patch> -->
		</Patches>
	</Source>

	<Package>
		<Name>cppcheck</Name>
		<RuntimeDependencies>
			<Dependency>z3</Dependency>
			<Dependency>libgcc</Dependency>
			<Dependency>libpcre</Dependency>
			<Dependency>python3</Dependency>
			<Dependency>tinyxml2</Dependency>
			<Dependency>qt6-base</Dependency>
			<Dependency>qt6-charts</Dependency>
			<Dependency>qt6-assistant</Dependency>
			<Dependency>python3-Pygments</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="executable">/usr/bin</Path>
			<Path fileType="data">/usr/share</Path>
			<Path fileType="data">/usr/share/Cppcheck</Path>
			<Path fileType="localedata">/usr/share/Cppcheck/lang</Path>
			<Path fileType="man">/usr/share/man</Path>
			<Path fileType="doc">/usr/share/doc</Path>
		</Files>
	</Package>

	<History>
		<Update release="13">
			<Date>2023-02-02</Date>
			<Version>2.10</Version>
			<Comment>Rebuild.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="12">
			<Date>2023-01-28</Date>
			<Version>2.10</Version>
			<Comment>Version bump.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="11">
			<Date>2022-09-05</Date>
			<Version>2.9</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="10">
			<Date>2022-05-28</Date>
			<Version>2.8</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="9">
			<Date>2022-02-05</Date>
			<Version>2.7</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="8">
			<Date>2021-10-11</Date>
			<Version>2.6</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="7">
			<Date>2021-07-05</Date>
			<Version>2.5</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="6">
			<Date>2021-03-24</Date>
			<Version>2.4</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="5">
			<Date>2020-12-20</Date>
			<Version>2.3</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="4">
			<Date>2020-10-06</Date>
			<Version>2.2</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="3">
			<Date>2020-06-27</Date>
			<Version>2.1</Version>
			<Comment>Ver. bump</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="2">
			<Date>2020-04-16</Date>
			<Version>1.90</Version>
			<Comment>Version Bump</Comment>
			<Name>Erkan IŞIK</Name>
			<Email>erkanisik@pisilinux.org</Email>
		</Update>
		<Update release="1">
			<Date>2019-12-19</Date>
			<Version>1.89</Version>
			<Comment>First build.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
	</History>
</PISI>
